package com.hollysys.hollimsa.biz.istio.destinationrule.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @author wangyuxi
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SimpleDetailDestinationRuleDTO implements Serializable {

    private static final long serialVersionUID = -8807891230864374684L;
    private List<DictDestinationHostItem> dictDestinationHost;

    private List<List<DictDestinationSubsetItemItem>> dictDestinationSubset;


    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class DictDestinationHostItem implements Serializable{
        private static final long serialVersionUID = 5070548931112553847L;
        private String label;
        private String value;
    }

    @Data
    @AllArgsConstructor
    @NoArgsConstructor
    @Builder
    public static class DictDestinationSubsetItemItem implements Serializable{
        private static final long serialVersionUID = -1531091208542027474L;
        private String label;
        private String value;
    }
}

